<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:77:"C:\wamp\www\shangcheng\best\public/../application/admin\view\admin\index.html";i:1495633504;}*/ ?>
<!DOCTYPE html>
<!--[if IE 9 ]><html class="ie9"><![endif]-->
    <head>
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
        <meta name="format-detection" content="telephone=no">
        <meta charset="UTF-8">

        <meta name="description" content="Violate Responsive Admin Template">
        <meta name="keywords" content="Super Admin, Admin, Template, Bootstrap">

        <title>超级管理员后台系统</title>
           <style type='text/css'>
                .fadeInRight{
                     background: rgba(104,105,108,0.5);
                }
           
           </style>
        <!-- CSS -->
        <link href="__STATIC_PATH__admin/css/bootstrap.min.css" rel="stylesheet">
        <link href="__STATIC_PATH__admin/css/animate.min.css" rel="stylesheet">
        <link href="__STATIC_PATH__admin/css/font-awesome.min.css" rel="stylesheet">
        <link href="__STATIC_PATH__admin/css/form.css" rel="stylesheet">
        <link href="__STATIC_PATH__admin/css/calendar.css" rel="stylesheet">
        <link href="__STATIC_PATH__admin/css/style.css" rel="stylesheet">
        <link href="__STATIC_PATH__admin/css/icons.css" rel="stylesheet">
        <link href="__STATIC_PATH__admin/css/generics.css" rel="stylesheet"> 
    </head>
    <body id="skin-blur-violate">

        <header id="header" class="media">
            <a href="" id="menu-toggle"></a> 
            <a class="logo pull-left" href="javascript:;"><?php echo $types; ?></a>
            
            <div class="media-body">
                <div class="media" id="top-menu">
                    <div class="pull-left tm-icon">
                        <a data-drawer="messages" class="drawer-toggle" href="">
                            <i class="sa-top-message"></i>
                            <i class="n-count animated"><?php echo $counts; ?></i>
                            <span>通知</span>
                        </a>
                    </div>
                    <div class="pull-left tm-icon">
                        <a data-drawer="notifications" class="drawer-toggle" href="">
                            <i class="sa-top-updates"></i>
                            <i class="n-count animated"><?php echo $zixunc; ?></i>
                            <span>消息</span>
                        </a>
                    </div>

                    

                    <div id="time" class="pull-right">
                        <span id="hours"></span>
                        :
                        <span id="min"></span>
                        :
                        <span id="sec"></span>
                    </div>
                    
                    <div class="media-body">
                        <input type="text" class="main-search">
                    </div>
                </div>
            </div>
        </header>
        
        <div class="clearfix"></div>
        
        <section id="main" class="p-relative" role="main">
            
            <!-- Sidebar -->
            <aside id="sidebar">
                
                <!-- Sidbar Widgets -->
                <div class="side-widgets overflow">
                    <!-- 个人信息 -->
                    <div class="text-center s-widget m-b-25 dropdown" id="profile-menu">
                        <a href="" data-toggle="dropdown">
                            <img class="profile-pic animated" src="__STATIC_PATH__admin/img/profile-pic.jpg" alt="">
                        </a>
                        <ul class="dropdown-menu profile-menu">
                            <li><a href="javascript:;"><?php echo $types; ?></a> <i class="icon left">&#61903;</i><i class="icon right">&#61815;</i></li>
                            <li><a href="javascript:;">权限：<?php if(($level == 0)): ?>
                                                            所有权限
                                                            <?php else: ?>
                                                            部分权限
                                                            <?php endif; ?>                 
                            </a> <i class="icon left">&#61903;</i><i class="icon right">&#61815;</i></li>
                           <!--  <li><a href="javascript:;">部门：CEO</a> <i class="icon left">&#61903;</i><i class="icon right">&#61815;</i></li>
                            <li><a href="javascript:;">权限：所有</a> <i class="icon left">&#61903;</i><i class="icon right">&#61815;</i></li> -->
                        </ul>
                        <h4 class="m-0"><?php echo $name; ?> </h4>
                        <?php echo $email; ?>
                    </div>
                    
                    <!-- Calendar -->
                    <div class="s-widget m-b-25">
                        <div id="sidebar-calendar"></div>
                    </div>
                    
                    <!-- Feeds -->
                    <div class="s-widget m-b-25">
                        <h2 class="tile-title">
                           新闻
                        </h2>
                        <?php foreach($news as $k): ?>
                        <div class="s-widget-body">
                       <a href="<?php echo $k->url; ?>" target="_black"><?php echo $k->title; ?></a>
                            <div id="news-feed"></div>
                        </div>
                        <?php endforeach; ?>
                       

                    </div>
                    
                  
                   
                </div>
                
                <!-- 菜单 -->
                <ul class="list-unstyled side-menu">
                    <li class="active">
                        <a class="sa-side-home" href="index.html">
                            <span class="menu-item">首页</span>
                        </a>
                    </li>
                    <li class="dropdown">
                        <a class="sa-side-ui" href="javascript:;">
                            <span class="menu-item">用户组</span>
                        </a>
                        <ul class="list-unstyled menu-item">
                            
                            <li><a href="/admin/user/user">会员管理</a></li>
                            
                            <li><a href="/admin/user/shanghu">商户管理</a></li>
                            <li><a href="/admin/user/team">管理员</a></li>
                            <li><a href="/admin/user/xiangmuzu">项目组</a></li>
                           
                        </ul>
                    </li>
                     <li class="dropdown">
                        <a class="sa-side-page" href="javascript:;">
                            <span class="menu-item">商品信息</span>
                        </a>
                        <ul class="list-unstyled menu-item">
                            <li><a href="/admin/shoping/tables">商品表</a></li>
                            <li><a href="/admin/shoping/formadd">增加商品</a></li>
                            <li><a href="/admin/shoping/pinglun">商品评价表</a></li>
                            <li><a href="/admin/shoping/img">商品图片库</a></li>
                            <li><a href="/admin/shoping/uploadimg">增加商品图</a></li>
                            <li><a href="/admin/shoping/tables">积分商品表</a></li>
                        </ul>
                    </li>
                     <li>
                        <a class="sa-side-calendar" href="javascript:;">
                            <span class="menu-item">统计表</span>
                        </a>
                         <ul class="list-unstyled menu-item">
                            <li><a href="/admin/tongji/tongji">商品库存</a></li>
                            <li><a href="/admin/tongji/tongji">类别库存</a></li>
                            <li><a href="/admin/tongji/tongji">订单量统计</a></li>
                            <li><a href="/admin/tongji/tongji">营业额统计</a></li>
                            <li><a href="/admin/tongji/tongji">用户统计</a></li>
                        </ul>
                    </li>
                    <li>
                        <a class="sa-side-typography" href="javascript:;">
                            <span class="menu-item">订单管理</span>
                        </a>
                         <ul class="list-unstyled menu-item">
                            <li><a href="/admin/orderform/tabled">订单表</a></li>
                            <li><a href="/admin/orderform/tabled">订单退货表</a></li>
                            <li><a href="/admin/orderform/tabled">售后表</a></li>
                        </ul>
                    </li>
                        <li class="dropdown">
                        <a class="sa-side-form" href="javascript:;">
                            <span class="menu-item">活动管理</span>
                        </a>
                        <ul class="list-unstyled menu-item">
                            <li><a href="javascript:;">新品发布</a></li>
                            <li><a href="javascript:;">广告(新品)图片</a></li>
                            <li><a href="/admin/youhui/youhui">优惠券</a></li>
                            <li><a href="/admin/youhui/miaosha">秒杀</a></li>
                        </ul>
                    </li>
                    <li>
                        <a class="sa-side-widget" href="javascript:;">
                            <span class="menu-item">消息推送</span>
                        </a>
                        <ul class="list-unstyled menu-item">
                            <li><a href="/admin/email/email">短信通知</a></li>
                            <li><a href="/admin/email/email">邮件订阅</a></li>
                            <li><a href="/admin/email/email">历史咨询</a></li>
                          
                        </ul>
                    </li>
                    <li>
                        <a class="sa-side-folder" href="file-manager.html">
                            <span class="menu-item">回收站</span>
                        </a>
                    </li>
                   
                   
                </ul>

            </aside>
        
            <!-- Content -->
            <section id="content" class="container">
            
                <!-- 信息提醒 -->
                <div id="messages" class="tile drawer animated">
                    <div class="listview narrow">
                        <div class="media">
                            <a href="javascript:;">信息</a>
                            <span class="drawer-close">&times;</span>   
                        </div>
                        <?php if($xinxi): ?>
                               
                                <div class="overflow" style="height: 254px">
                                     <?php foreach($xinxi as $v): ?>
                                    <div class="media">
                                        
                                        <div class="pull-left">
                                            订单号
                                        </div>
                                        <div class="media-body">
                                            <small class="text-muted"><?php echo $v['order_number']; ?>--时间：<?php echo $v['create_time']; ?></small><br>
                                            <a class="t-overflow" href="javascript:;"><?php echo $v['aid']; ?></a>
                                        </div>
                                        
                                    </div>
                                     <?php endforeach; ?>
                                 </div>
                               
                                
                        <?php else: ?>
                        无更多信息
                        <?php endif; ?>
                          
                           
                       
                        <div class="media text-center whiter l-100">
                            <a href="javascript:;"><small>查看更多</small></a>
                        </div>
                    </div>
                </div>
                
                <!-- 信息提醒 -->
                <div id="notifications" class="tile drawer animated">
                    <div class="listview narrow">
                        <div class="media">
                            <a href="javascript:;">留言</a>
                            <span class="drawer-close">&times;</span>
                        </div>
                        <div class="overflow" style="height: 254px">
                            <?php if($zixun): foreach($zixun as $value): ?>
                            <div class="media">
                                <div class="pull-left">
                                    <img width="40" src="__STATIC_PATH__admin/img/profile-pics/1.jpg" alt="">
                                </div>
                                <div class="media-body">
                                    <small class="text-muted"><?php echo $value['uid']; ?>-时间：<?php echo $value['create_time']; ?></small><br>
                                    <a class="t-overflow" href="javascript:;"><?php echo $value['content']; ?></a>
                                </div>
                            </div>
                            <?php endforeach; else: ?>
                            <div class="media">
                                没有消息
                                </div>
                           <?php endif; ?>
                        </div>
                        <div class="media text-center whiter l-100">
                            <a href=""><small>VIEW ALL</small></a>
                        </div>
                    </div>
                </div>
                
                <!-- Breadcrumb -->
                
                
                <h4 class="page-title">信息内容</h4>
                                
                <!-- Shortcuts -->
                <div class="block-area shortcut-area">
                    <a class="shortcut tile" href="tongji.html">
                        <img src="__STATIC_PATH__admin/img/shortcuts/money.png" alt="">
                        <small class="t-overflow">资金</small>
                    </a>
                    <a class="shortcut tile" href="">
                        <img src="__STATIC_PATH__admin/img/shortcuts/twitter.png" alt="">
                        <small class="t-overflow">推特</small>
                    </a>
                    <a class="shortcut tile" href="tongji.html">
                        <img src="__STATIC_PATH__admin/img/shortcuts/calendar.png" alt="">
                        <small class="t-overflow">日均</small>
                    </a>
                    <a class="shortcut tile" href="tongji.html">
                        <img src="__STATIC_PATH__admin/img/shortcuts/stats.png" alt="">
                        <small class="t-overflow">库存</small>
                    </a>
                    <a class="shortcut tile" href="">
                        <img src="__STATIC_PATH__admin/img/shortcuts/connections.png" alt="">
                        <small class="t-overflow">API</small>
                    </a>
                    <a class="shortcut tile" href="team.html">
                        <img src="__STATIC_PATH__admin/img/shortcuts/reports.png" alt="">
                        <small class="t-overflow">评价</small>
                    </a>
                </div>
                
                <hr class="whiter" />
                
                <!-- Quick Stats -->
                <div class="block-area">
                    <div class="row">
                        <div class="col-md-3 col-xs-6">
                            <div class="tile quick-stats">
                                <div id="stats-line-2" class="pull-left"></div>
                                <div class="data">
                                    <h2 data-value="92">0</h2>
                                    <small>今日访问</small>
                                </div>
                            </div>
                        </div>

                        <div class="col-md-3 col-xs-6">
                            <div class="tile quick-stats media">
                                <div id="stats-line-3" class="pull-left"></div>
                                <div class="media-body">
                                    <h2 data-value="<?php echo $counts; ?>">0</h2>
                                    <small>今日订单</small>
                                </div>
                            </div>
                        </div>

                        <div class="col-md-3 col-xs-6">
                            <div class="tile quick-stats media">

                                <div id="stats-line-4" class="pull-left"></div>

                                <div class="media-body">
                                    <h2 data-value="4896">0</h2>
                                    <small>今日库存量</small>
                                </div>
                            </div>
                        </div>

                        <div class="col-md-3 col-xs-6">
                            <div class="tile quick-stats media">
                                <div id="stats-line" class="pull-left"></div>
                                <div class="media-body">
                                    <h2 data-value="29356">0</h2>
                                    <small>总访问量</small>
                                </div>
                            </div>
                        </div>

                    </div>

                </div>

                <hr class="whiter" />
                
                <!-- Main Widgets -->
               
                <div class="block-area">
                    <div class="row">
                        <div class="wrapper wrapper-content animated fadeInRight">
                            <div class="row">
                             <div class="col-sm-2">
                             </div>
                               
                                <div class="col-sm-3 page-title" >
                                    <div class="ibox">
                                        <div class="ibox-content ">
                                            <h5 class="m-b-md">日销量</h5>
                                            <h2 class="text-navy">
                                                        <i class="fa fa-play fa-rotate-270"></i> 上升
                                                    </h2>
                                            <small>与上次</small>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-sm-3 page-title" >
                                    <div class="ibox">
                                        <div class="ibox-content">
                                            <h5 class="m-b-md">周销量</h5>
                                            <h2 class="text-danger">
                                                        <i class="fa fa-play fa-rotate-90"></i> 下降
                                                    </h2>
                                            <small>与上次</small>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-sm-3 page-title">
                                    <div class="ibox">
                                        <div class="ibox-content">
                                            <h5 class="m-b-md">月销量</h5>
                                            <h2 class="text-danger">
                                                        <i class="fa fa-play fa-rotate-90"></i> 下降
                                                    </h2>
                                            <small>与上次</small>
                                        </div>
                                    </div>
                                </div>

                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- Chat -->
                <div class="chat">
                    
                    <!-- Chat List -->
                    <div class="pull-left chat-list">
                        <div class="listview narrow">
                            <div class="media">
                                <img class="pull-left" src="__STATIC_PATH__admin/img/profile-pics/1.jpg" width="30" alt="">
                                <div class="media-body p-t-5">
                                    埃里克森
                                </div>
                            </div>
                            <div class="media">
                                <img class="pull-left" src="__STATIC_PATH__admin/img/profile-pics/2.jpg" width="30" alt="">
                                <div class="media-body">
                                    <span class="t-overflow p-t-5">戴维我看</span>
                                </div>
                            </div>
                            <div class="media">
                                <img class="pull-left" src="__STATIC_PATH__admin/img/profile-pics/3.jpg" width="30" alt="">
                                <div class="media-body">
                                    <span class="t-overflow p-t-5">M迈克n</span>
                                </div>
                            </div>
                            <div class="media">
                                <img class="pull-left" src="__STATIC_PATH__admin/img/profile-pics/4.jpg" width="30" alt="">
                                <div class="media-body">
                                    <span class="t-overflow p-t-5">Wayne Parnell</span>
                                </div>
                            </div>
                            <div class="media">
                                <img class="pull-left" src="__STATIC_PATH__admin/img/profile-pics/5.jpg" width="30" alt="">
                                <div class="media-body">
                                    <span class="t-overflow p-t-5">Melina April</span>
                                </div>
                            </div>
                            <div class="media">
                                <img class="pull-left" src="__STATIC_PATH__admin/img/profile-pics/6.jpg" width="30" alt="">
                                <div class="media-body">
                                    <span class="t-overflow p-t-5">Ford Harnson</span>
                                </div>
                            </div>
                            
                        </div>
                    </div>
                    
                    <!-- Chat Area -->
                    <div class="media-body">
                        <div class="chat-header">
                            <a class="btn btn-sm" href="">
                                <i class="fa fa-circle-o status m-r-5"></i> 聊天
                            </a>
                        </div>
                    
                        <div class="chat-body">
                            <div class="media">
                                <img class="pull-right" src="__STATIC_PATH__admin/img/profile-pics/1.jpg" width="30" alt="" />
                                <div class="media-body pull-right">
                                   嗨喽<br/>
                                    最近?
                                    <small>我 ---10分钟前</small>
                                </div>
                            </div>
                            
                            <div class="media pull-left">
                                <img class="pull-left" src="__STATIC_PATH__admin/img/profile-pics/2.jpg" width="30" alt="" />
                                <div class="media-body">
                                    I我 奥迪. <br/>你组哦什么?
                                    <small>戴维斯 - 9 分钟o</small>
                                </div>
                            </div>
                            
                            <div class="media pull-right">
                                <img class="pull-right" src="__STATIC_PATH__admin/img/profile-pics/2.jpg" width="30" alt="" />
                                <div class="media-body">
                                   你明白什么 <br/>T的打到阿斯达阿达撒奥迪爱上大声地阿三 爱上大声地啊
                                    <small>Me - 8 Mins ago</small>
                                </div>
                            </div>
                            
                            <div class="media pull-right">
                                <img class="pull-right" src="__STATIC_PATH__admin/img/profile-pics/2.jpg" width="30" alt="" />
                                <div class="media-body">
                                    Any idea for a hangout?
                                    <small>Me - 8 Mins ago</small>
                                </div>
                            </div>
                              
                        </div>
                    
                        <div class="chat-footer media">
                            <i class="chat-list-toggle pull-left fa fa-bars"></i>
                            <i class="pull-right fa fa-picture-o"></i> 
                            <div class="media-body">
                                <textarea class="form-control" placeholder="Type something..."></textarea>
                            </div>
                        </div>
                        
                    </div>
                </div>
            </section>
            <script>
                    $(document).ready(function () {


                        $("#sparkline1").sparkline([34, 43, 43, 35, 44, 32, 44, 52], {
                            type: 'line',
                            width: '100%',
                            height: '60',
                            lineColor: '#1ab394',
                            fillColor: "#ffffff"
                        });

                        $("#sparkline2").sparkline([24, 43, 43, 55, 44, 62, 44, 72], {
                            type: 'line',
                            width: '100%',
                            height: '60',
                            lineColor: '#1ab394',
                            fillColor: "#ffffff"
                        });

                        $("#sparkline3").sparkline([74, 43, 23, 55, 54, 32, 24, 12], {
                            type: 'line',
                            width: '100%',
                            height: '60',
                            lineColor: '#ed5565',
                            fillColor: "#ffffff"
                        });

                        $("#sparkline4").sparkline([24, 43, 33, 55, 64, 72, 44, 22], {
                            type: 'line',
                            width: '100%',
                            height: '60',
                            lineColor: '#ed5565',
                            fillColor: "#ffffff"
                        });

                        $("#sparkline5").sparkline([1, 4], {
                            type: 'pie',
                            height: '140',
                            sliceColors: ['#1ab394', '#F5F5F5']
                        });

                        $("#sparkline6").sparkline([5, 3], {
                            type: 'pie',
                            height: '140',
                            sliceColors: ['#1ab394', '#F5F5F5']
                        });

                        $("#sparkline7").sparkline([2, 2], {
                            type: 'pie',
                            height: '140',
                            sliceColors: ['#ed5565', '#F5F5F5']
                        });

                        $("#sparkline8").sparkline([2, 3], {
                            type: 'pie',
                            height: '140',
                            sliceColors: ['#ed5565', '#F5F5F5']
                        });


                    });
                </script>
            <!-- Older IE Message -->
            <!--[if lt IE 9]>
                <div class="ie-block">
                    <h1 class="Ops">Ooops!</h1>
                    <p>You are using an outdated version of Internet Explorer, upgrade to any of the following web browser in order to access the maximum functionality of this website. </p>
                    <ul class="browsers">
                        <li>
                            <a href="https://www.google.com/intl/en/chrome/browser/">
                                <img src="__STATIC_PATH__admin/img/browsers/chrome.png" alt="">
                                <div>Google Chrome</div>
                            </a>
                        </li>
                        <li>
                            <a href="http://www.mozilla.org/en-US/firefox/new/">
                                <img src="__STATIC_PATH__admin/img/browsers/firefox.png" alt="">
                                <div>Mozilla Firefox</div>
                            </a>
                        </li>
                        <li>
                            <a href="http://www.opera.com/computer/windows">
                                <img src="__STATIC_PATH__admin/img/browsers/opera.png" alt="">
                                <div>Opera</div>
                            </a>
                        </li>
                        <li>
                            <a href="http://safari.en.softonic.com/">
                                <img src="__STATIC_PATH__admin/img/browsers/safari.png" alt="">
                                <div>Safari</div>
                            </a>
                        </li>
                        <li>
                            <a href="http://windows.microsoft.com/en-us/internet-explorer/downloads/ie-10/worldwide-languages">
                                <img src="__STATIC_PATH__admin/img/browsers/ie.png" alt="">
                                <div>Internet Explorer(New)</div>
                            </a>
                        </li>
                    </ul>
                    <p>Upgrade your browser for a Safer and Faster web experience. <br/>Thank you for your patience...</p>
                </div>   
            <![endif]-->
        </section>
        
        <!-- Javascript Libraries -->
        <!-- jQuery -->
        <script src="__STATIC_PATH__admin/js/jquery.min.js"></script> <!-- jQuery Library -->
        <script src="__STATIC_PATH__admin/js/jquery-ui.min.js"></script> <!-- jQuery UI -->
        <script src="__STATIC_PATH__admin/js/jquery.easing.1.3.js"></script> <!-- jQuery Easing - Requirred for Lightbox + Pie Charts-->

        <!-- Bootstrap -->
        <script src="__STATIC_PATH__admin/js/bootstrap.min.js"></script>

        <!-- Charts -->
        <script src="__STATIC_PATH__admin/js/charts/jquery.flot.js"></script> <!-- Flot Main -->
        <script src="__STATIC_PATH__admin/js/charts/jquery.flot.time.js"></script> <!-- Flot sub -->
        <script src="__STATIC_PATH__admin/js/charts/jquery.flot.animator.min.js"></script> <!-- Flot sub -->
        <script src="__STATIC_PATH__admin/js/charts/jquery.flot.resize.min.js"></script> <!-- Flot sub - for repaint when resizing the screen -->

        <script src="__STATIC_PATH__admin/js/sparkline.min.js"></script> <!-- Sparkline - Tiny charts -->
        <script src="__STATIC_PATH__admin/js/easypiechart.js"></script> <!-- EasyPieChart - Animated Pie Charts -->
        <script src="__STATIC_PATH__admin/js/charts.js"></script> <!-- All the above chart related functions -->

        <!-- Map -->
        <script src="__STATIC_PATH__admin/js/maps/jvectormap.min.js"></script> <!-- jVectorMap main library -->
        <script src="__STATIC_PATH__admin/js/maps/usa.js"></script> <!-- USA Map for jVectorMap -->

        <!--  Form Related -->
        <script src="__STATIC_PATH__admin/js/icheck.js"></script> <!-- Custom Checkbox + Radio -->

        <!-- UX -->
        <script src="__STATIC_PATH__admin/js/scroll.min.js"></script> <!-- Custom Scrollbar -->

        <!-- Other -->
        <script src="__STATIC_PATH__admin/js/calendar.min.js"></script> <!-- Calendar -->
        <script src="__STATIC_PATH__admin/js/feeds.min.js"></script> <!-- News Feeds -->
        

        <!-- All JS functions -->
        <script src="__STATIC_PATH__admin/js/functions.js"></script>
    </body>
</html>
